package com.woniu.adminservice.service;

import com.woniu.adminservice.dto.AdminDTO;
import com.woniu.adminservice.entity.Account;
import java.util.List;

public interface AccountService {

    Account queryById(Integer id);

    List<Account> queryAllByLimit(int offset, int limit);
    
    List<Account> findAll();
    Account insert(Account account);

    Account update(Account account);

    boolean deleteById(Integer id);

    List<Account> findAllByPage(Integer currentPage, Integer pageSize);
}